package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 盲盒管理对象 tb_blind_box
 * 
 * @author hyx
 * @date 2024-11-22
 */
public class CwBlindBox extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 盲盒 ID */
    private Long blindBoxId;

    /** 盲盒名称 */
    @Excel(name = "盲盒名称")
    private String blindBoxName;

    /** 盲盒分类 ID */
    @Excel(name = "盲盒分类 ID")
    private Long blindBoxCategoryId;

    /** 品牌 ID */
    @Excel(name = "品牌 ID")
    private Long blindBoxBrandId;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Long stockQuantity;

    /** 上架时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上架时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date onShelfTime;

    /** 是否上架 */
    @Excel(name = "是否上架")
    private String isOnShelf;

    /** 盲盒详情 */
    @Excel(name = "盲盒详情")
    private String blindBoxDetails;

    /** 盲盒图片 */
    @Excel(name = "盲盒图片")
    private String blindBoxImagePath;

    public void setBlindBoxId(Long blindBoxId) 
    {
        this.blindBoxId = blindBoxId;
    }

    public Long getBlindBoxId() 
    {
        return blindBoxId;
    }
    public void setBlindBoxName(String blindBoxName) 
    {
        this.blindBoxName = blindBoxName;
    }

    public String getBlindBoxName() 
    {
        return blindBoxName;
    }
    public void setBlindBoxCategoryId(Long blindBoxCategoryId) 
    {
        this.blindBoxCategoryId = blindBoxCategoryId;
    }

    public Long getBlindBoxCategoryId() 
    {
        return blindBoxCategoryId;
    }
    public void setBlindBoxBrandId(Long blindBoxBrandId) 
    {
        this.blindBoxBrandId = blindBoxBrandId;
    }

    public Long getBlindBoxBrandId() 
    {
        return blindBoxBrandId;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setStockQuantity(Long stockQuantity) 
    {
        this.stockQuantity = stockQuantity;
    }

    public Long getStockQuantity() 
    {
        return stockQuantity;
    }
    public void setOnShelfTime(Date onShelfTime) 
    {
        this.onShelfTime = onShelfTime;
    }

    public Date getOnShelfTime() 
    {
        return onShelfTime;
    }
    public void setIsOnShelf(String isOnShelf) 
    {
        this.isOnShelf = isOnShelf;
    }

    public String getIsOnShelf() 
    {
        return isOnShelf;
    }
    public void setBlindBoxDetails(String blindBoxDetails) 
    {
        this.blindBoxDetails = blindBoxDetails;
    }

    public String getBlindBoxDetails() 
    {
        return blindBoxDetails;
    }
    public void setBlindBoxImagePath(String blindBoxImagePath) 
    {
        this.blindBoxImagePath = blindBoxImagePath;
    }

    public String getBlindBoxImagePath() 
    {
        return blindBoxImagePath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("blindBoxId", getBlindBoxId())
            .append("blindBoxName", getBlindBoxName())
            .append("blindBoxCategoryId", getBlindBoxCategoryId())
            .append("blindBoxBrandId", getBlindBoxBrandId())
            .append("price", getPrice())
            .append("stockQuantity", getStockQuantity())
            .append("onShelfTime", getOnShelfTime())
            .append("isOnShelf", getIsOnShelf())
            .append("blindBoxDetails", getBlindBoxDetails())
            .append("blindBoxImagePath", getBlindBoxImagePath())
            .toString();
    }
}
